package system

import (
  "github.com/gin-gonic/gin"
  "livefind/api/v1"
  "livefind/middleware"
)

type EmailRouter struct {
}

func (s *EmailRouter) InitEmailRouter(Router *gin.RouterGroup) {
  emailRouter := Router.Group("email").Use(middleware.OperationRecord())
  var systemApi = v1.ApiGroupApp.SystemApiGroup.SystemApi
  {
    emailRouter.POST("emailTest", systemApi.EmailTest) // 发送测试邮件
  }
}
